import { DEFAULT_LAYOUT } from '../base';
import type { AppRouteRecordRaw } from '../types';

const SignRecord: AppRouteRecordRaw = {
  path: '/',
  name: 'Record',
  component: DEFAULT_LAYOUT,
  redirect: '/signRecord',
  meta: {
    locale: '签到记录',
    roles: ['*'],
    icon: 'icon-calendar',
    hideChildrenMenu: true,
    requiresAuth: true,
    order: 5
  },
  children: [
    {
      path: 'signRecord',
      name: 'SignRecord',
      component: () => import('@/views/signRecord/index.vue'),
      meta: {
        activeMenu: 'SignRecord'
      }
    }
  ]
};

export default SignRecord;
